package com.ywd.materials.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 菜单表实体类
 */
@Accessors(chain = true)
@Data
@Schema(description = "菜单表实体类")
public class AdminMenuVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单ID
     */
    @Schema(description = "菜单ID")
    private Long id;

    /**
     * 父级菜单ID(0表示父级)
     */
    @Schema(description = "父级菜单ID(0表示父级)")
    private Long pid = 0L;

    /**
     * 菜单类型
     */
    @Schema(description = "菜单类型")
    private String type;

    /**
     * 菜单名称
     */
    @Schema(description = "菜单名称")
    private String name;

    /**
     * 图标
     */
    @Schema(description = "图标")
    private String icon;

    /**
     * 菜单排序
     */
    @Schema(description = "菜单排序")
    private Long sort = 0L;

    /**
     * 权限
     */
    @Schema(description = "权限")
    private String perms;

    /**
     * 菜单路由
     */
    @Schema(description = "菜单路由")
    private String paths;

    /**
     * 组件
     */
    @Schema(description = "组件")
    private String component;

    /**
     * 选中的
     */
    @Schema(description = "选中的")
    private String selected;

    /**
     * 参数
     */
    @Schema(description = "参数")
    private String params;

    /**
     * 是否缓存(0=否,1=是)
     */
    @Schema(description = "是否缓存(0=否,1=是)")
    private Integer isCache = 0;

    /**
     * 是否展示(0=否,1=是)
     */
    @Schema(description = "是否展示(0=否,1=是)")
    private Integer isShow = 1;

    /**
     * 是否禁用(0=否,1=是)
     */
    @Schema(description = "是否禁用(0=否,1=是)")
    private Integer isDisable = 0;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;

    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    private String updateTime;

}